<%@ include file="/common/taglibs.jsp"%>

<title><fmt:message key="regionItemList.title" />
</title>

<content tag="buttons">
	<probiz:iconBtn btnType="add"
		onclick="location.href='${ctxPath}/system/regionItem.html?doAction=add&from=list'" />
	<probiz:iconBtn btnType="delete" onclick="return fnDoMultiDelete(this);" />
</content>

<form class="mainForm" name="regionItemListForm" method="post" action="${ctxPath}/system/regionItem.html">
	<c:set var="editURLPath" value="/system/regionItem.html?doAction=edit&from=list" scope="page" />
	<div class="top clearfix">
		<ul class="tab">
			<li class="curr"><span><fmt:message key="regionItemList.title"/></span></li>
		</ul>
	</div>
	<div class="data">
		<c:set var="checkAll">
			<input type="checkbox" name="allbox" onclick="checkAll(this.form)" class="checkbox" />
		</c:set>
		<c:set var="editURLPath" value="/system/regionItem.html?doAction=edit&from=list" scope="page" />
		<display:table name="${regionList}" cellspacing="0" cellpadding="0" uid="region" class="list_table" export="false" requestURI="">
			<display:column class="checkbox_column" style="height:50px;" title="${checkAll}" media="html">
				<input type="checkbox" name="multiIds" value="${region.regionId}" class="checkbox" title="${region.regionName}" />
			</display:column>
			<display:column style="width:100px;" url="${editURLPath}" paramId="regionId" paramProperty="regionId" property="regionName" sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="region.regionName" />
			<display:column  sortable="false" decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="brand.shortDescription" >
                <common:displayString value="${region.description}" length="80"/>
            </display:column>
		</display:table>
	</div>
</form>
<script type="text/javascript">
$j(document).ready(function () {
	highlightTableRows("region");
});
</script>